﻿using CIS.GrpcService;
using Grpc.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CIS.GrpcServer.Services
{
    public class MyGrpcService:Greeter.GreeterBase
    {
        public override Task<HelloReply> SayHello(HelloRequest request, ServerCallContext context)
        {
            return Task.FromResult(new HelloReply()
            {
                Message="server responsed: "+"hello" +request.Name
            });
        }        
    }
}
